HK417 Battle Rifle(w/Silencer and ACOG)+3 panit jobs
-----------------------------------
HK417 model convert from AVA Online to GTAIV by cjisntgay

Install the model:

open sparkIV or openIV, browse to your GTAIV main folder/pc/models/cdimages/weapons.img, import w_m4.wdr and w_m4.wtd then save!

install weaponinfo.xml:  your GTAIV main folder/common/data

install sound:

1. download gta ivaud 1.1.5(http://www.gta4-mods.com/tools/gta-ivaud-v115-f3996)

2. open sparkIV(openIV can't do this), browse to GTAIV main folder/pc/audio/sfx/resident.rpf (select resident in the left-side first)

3. export WEAPONS.ivaud to the desktop

4. open gta ivaud 1.1.5, and open the WEAPONS.ivaud

5. look for and replace M4_SHOT1_L.wav M4_SHOT1_R.wav and M4_SHOT2_A - AK47_SHOT2_D.wav, scroll down to: number #173-178

6. SAVE it, and import WEAPONS.ivaud again with sparkIV(openIV can't do this)


+++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++
THE information you have to replace in weaponinfo.xml, you'll find these words in your weaponinfo.xml
-------------------------------------------------
<weapon type="M4">
		<data slot="RIFLE" firetype="INSTANT_HIT" damagetype="BULLET" group="RIFLE_ASSAULT" targetrange="65.0" weaponrange="70.0" clipsize="30" ammomax="600" timebetweenshots="133">
			<damage base="30" networkplayermod="2.5" networkpedmod="1.25"/>
			<physics force="75.0"/>
			<reload time="2066" fasttime="1166" crouchtime="2066"/>

			<aiming accuracy="0.5">
				<offset         x="0.14" y="1.0" z="0.55"/>
				<crouchedoffset x="0.08"  y="1.0" z="0.12"/>
				<reticule standing="0.6" ducked="0.5" scale="0.3"/>
			</aiming>

			<pickup regentime="600000" ammoonstreet="80"/>

			<controller>
        <rumble duration="90" intensity="0.1"/>
			</controller>

			<flags>
				<flag>GUN</flag>
				<flag>CAN_AIM</flag>
				<flag>CAN_FREE_AIM</flag>
				<flag>ANIM_RELOAD</flag>
				<flag>ANIM_CROUCH_FIRE</flag>
				<flag>2HANDED</flag>
			</flags>
		</data>

		<assets model="w_m4">
			<anim group="gun@ak47">
				<rates firerate="1.2" blindfirerate="1.2"/>
			</anim>

			<effects>
				<muzzle fx="muz_machine"/>
				<shell fx="weap_ejected_rifle"/>
			</effects>
		</assets>
	</weapon>

==========================================================
then copy and change to these words

<weapon type="M4">
		<data slot="RIFLE" firetype="INSTANT_HIT" damagetype="BULLET" group="RIFLE_ASSAULT" targetrange="150.0" weaponrange="1200.0" clipsize="20" ammomax="4500" timebetweenshots="66">
			<damage base="180" networkplayermod="2.5" networkpedmod="1.25"/>
			<physics force="165.0"/>
			<reload time="2066" fasttime="1166" crouchtime="2066"/>

			<aiming accuracy="0.5">
				<offset x="0.14" y="1.0" z="0.55"/>
				<crouchedoffset x="0.08" y="1.0" z="0.12"/>
				<reticule standing="0.6" ducked="0.5" scale="0.3"/>
			</aiming>

			<pickup regentime="600000" ammoonstreet="80"/>

			<controller>
				<rumble duration="90" intensity="20.1"/>
			</controller>

			<flags>
				<flag>GUN</flag>
				<flag>CAN_AIM</flag>
				<flag>SILENCED</flag>
				<flag>2HANDED</flag>
				<flag>ANIM_RELOAD</flag>
				<flag>CAN_FREE_AIM</flag>
				<flag>ANIM_CROUCH_FIRE</flag>
			</flags>
		</data>

		<assets model="w_m4">
			<anim group="gun@ak47">
				<rates firerate="1.5" blindfirerate="1.5"/>
			</anim>
			
                        <effects>
                                <shell fx="weap_ejected_rifle"/>
			</effects>
		</assets>
	</weapon>